﻿using ConfigCreate;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConfigModel
{
    public class ModelData
    {
        public string MyTitle { get; set; }
        public double MyNumber { get; set; } = 666;
        public bool MyBool { get; set; } = true;
        public string MyPassWord { get; set; }
        public TData MyTData { get; set; }
        public DateTime MyDate { get; set; } = DateTime.Now.AddDays(-1);
        public DateTime MyTime { get; set; } = DateTime.Now;
        public List<TData> MyList { get; set; }
        public string MyIP { get; set; }
        public string SelectedFile { get; set; }
        public List<string> Files { get; set; }
        public string SaveFile { get; set; }
        public string MyFolder { get; set; }
        public string MyLabel { get; set; } = "这个一个Label";
        public ConfigModel.ViewModel.MyUControlModel MyUControlModel { get; set; } = new ViewModel.MyUControlModel();
    }

    public enum TData
    {
        [ComboBoxItemName("第一项")]
        One = 0,
        [ComboBoxItemName("第二项")]
        Two = 1,
        [ComboBoxItemName("第三项")]
        Three = 2,
        [ComboBoxItemName("第四项")]
        Four = 3,
    }
}
